package com.woniuxy.booth.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.woniuxy.booth.bean.AdminBean;
import com.woniuxy.booth.mapper.SystemMapper;
import com.woniuxy.booth.service.ISystemService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author linke
 * @version 1.0
 * @className: SystemServiceImpl
 * @description: 系统接口实现类
 * @date 2021/11/15 1:28
 */
@Service
@Transactional(readOnly = true)
public class SystemServiceImpl implements ISystemService {
    @Resource
    private SystemMapper systemMapper;

    @Override
    public AdminBean login(String loginName, String password) {



        return systemMapper.login(loginName,password);
    }

    @Override
    public AdminBean register(AdminBean adminBean) {
        return null;
    }
}
